NewPtrClear
NewPtrClear
Allocate an cleared nonrelocatable block of memory Size theSize ; desired allocation, in bytes (a 32-bit value) returns address of allocated block; NIL if error
NewPtr, except that it clears the allocated space. theSize specifies how much memory you wish to allocate.
Returns: a Ptr; the address of the allocated space or NIL (0) if there wasn't room in the heap zone for the allocation. The MemError function noErr (0) No error
memFullErr (-108) No room in heap
Notes: See NewPtr for more information.